<?php
namespace App\Http\ViewComposers;

use Illuminate\Contracts\View\View;

class ProfileComposer
{
    protected $users;

    public function __construct(GoodsControllers $users)
    {
        // Dependencies automatically resolved by service container...
        $this->users = $users;
    }

    /**
     * Bind data to the view.
     *
     * @param  View  $view
     * @return void
     */
    public function compose(View $view)
    {
        $view->with('attrs',$attrs)->with('cname',$cname)->with('thisCname',$thisCname);
    }
}